<?php
/**
 * Created by PhpStorm.
 * User: Short Perton
 * Date: 2016/8/30
 * Time: 15:36
 */

$loader = new Phalcon\Loader();
$loader->registerNamespaces([
    'sw\client' => 'client',
    'sw\utils' => 'utils',
])->register();


$client = new \sw\client\ChatClient();
$client->connect();